package iha.framework;

import iha.framework.*;
import java.util.*;

public interface IItemCache {
    // Return (possibly empty) list of items that match search criteria
    // partnumber = 0 (wild card) or specific part number
    // description = "" (wild card) or string with free text
    LinkedList<IItem> LookUpItem(long partnumber, String description);
    // Add items (found through sub-suppliers) to local cache of known items
    void AddItems(LinkedList<IItem> items);
    // Remove items from local cache of known items (because they are too old)
    void RemoveItems(LinkedList<IItem> items);
}
